package com.miplus.ccrm.core.service.iou;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.miplus.ccrm.common.CmdResVo;
import com.miplus.ccrm.common.JSysUser;
import com.miplus.ccrm.core.controller.vo.ficase.*;
import com.miplus.ccrm.core.controller.vo.iou.*;

import javax.servlet.http.HttpServletResponse;
import java.math.BigDecimal;
import java.util.List;

public interface FiCasesServiceIou{
    IPage<ICaseResVo> caseList(JSysUser user, ICaseReqVo paras);
    QuyAmtSumVo getQueryDebtSum(JSysUser user, ICaseReqVo paras);
    ICaseInfoVo getCaseDetailInfo(JSysUser user, Integer ficaseid);
    CmdResVo getOneRecyCount(JSysUser user, ICaseReqVo dataParas);
    List<DistResVo> caseDistribute(JSysUser user, DistReqVo paras, ICaseReqVo distParas);
    CmdResVo caseDistribute(JSysUser user, Integer tempid, String domode, Double amirate);

    List<DistResVo> caseAssign(JSysUser user, AssReqVo paras, ICaseReqVo distParas);
    CmdResVo caseAssign(JSysUser user,String grpid,String domode,Integer assmode);
    CmdResVo caseRecycle(JSysUser user, RecyReqVo paras, ICaseReqVo dataParas);
    CmdResVo caseTranDist(JSysUser user, TranDistReqVo paras, ICaseReqVo distParas);
    CmdResVo caseSaveAs(JSysUser user, ICaseReqVo paras, HttpServletResponse response);

    CmdResVo getNextFiCaseID(JSysUser user,Integer ficaseid);
}
